package com.xiaokai.model;

import lombok.AllArgsConstructor;
import lombok.Builder;
import lombok.Data;
import lombok.NoArgsConstructor;

/**
 * Author:yang
 * Date:2024-12-17 16:26
 * Description:基础数据对象
 */

@Builder
public class BaseDTO<T> {
    private String appId;

    private String sign;

    private String timestamp;

    private String data;

    public BaseDTO() {
    }

    public BaseDTO(String appId, String sign, String timestamp, String data) {
        this.appId = appId;
        this.sign = sign;
        this.timestamp = timestamp;
        this.data = data;
    }

    public String getAppId() {
        return appId;
    }

    public void setAppId(String appId) {
        this.appId = appId;
    }

    public String getSign() {
        return sign;
    }

    public void setSign(String sign) {
        this.sign = sign;
    }

    public String getTimestamp() {
        return timestamp;
    }

    public void setTimestamp(String timestamp) {
        this.timestamp = timestamp;
    }

    public String getData() {
        return data;
    }

    public void setData(String data) {
        this.data = data;
    }
}
